package com.sziit.se.highconcurrency.application.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.sziit.se.highconcurrency.common.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author dongchunkeng
 * @since 2022-09-21
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class User extends BaseEntity {


    /**
     * 用户id
     */
    @TableId(value = "user_id", type = IdType.AUTO)
    private String userId;

    /**
     * 用户名
     */
    private String userName;

    /**
     * 电话
     */
    private String phone;


}
